package com.woniuxy.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.system.entity.AssessmentTemplate;
import com.woniuxy.system.entity.AssessmentType;
import com.woniuxy.system.mapper.AssessmentTemplateMapper;
import com.woniuxy.system.service.AssessmentTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 考核模板 服务实现类
 * </p>
 *
 * @author woniuxy
 * @since 2022-06-08
 */
@Service
@Transactional
public class AssessmentTemplateServiceImpl extends ServiceImpl<AssessmentTemplateMapper, AssessmentTemplate> implements AssessmentTemplateService {

    @Autowired
    AssessmentTemplateMapper assessmentTemplateMapper;

    @Override
    public List<AssessmentType> getAssessmentTypeTree() {
        return assessmentTemplateMapper.getAssessmentTypeTree();
    }
}
